import { defineStore } from 'pinia';

export const useThemeStore = defineStore('theme', {
  state: () => ({
    currentTheme: 'blue' as 'blue' | 'green' | 'purple',
  }),
  actions: {
    setTheme(theme: 'blue' | 'green' | 'purple') {
      this.currentTheme = theme;
    },
  },
});
